package com.example.chattingroom.model;

import java.util.List;

//消息会话
public class MessageSession {
    /**
     *消息会话要由三个元素组成：好友列表，最新一条信息，会话id
     * */

    private int sessionId;

    private List<Friend> friends;

    private String lastmessage;

    public String getLastmessage() {
        return lastmessage;
    }

    public void setLastmessage(String lastmessage) {
        this.lastmessage = lastmessage;
    }

    public List<Friend> getFriends() {
        return friends;
    }

    public void setFriends(List<Friend> friends) {
        this.friends = friends;
    }

    public int getSessionId() {
        return sessionId;
    }

    public void setSessionId(int sessionId) {
        this.sessionId = sessionId;
    }
}
